﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using KSOAdmin.Models.DomainModels.System;

namespace KSOAdmin.IServices.System
{
    public interface ISys_MenuServices:IBasicServices<Sys_Menu>
    {
        /// <summary>
        /// 获取全部菜单
        /// </summary>
        /// <returns></returns>
        Task<List<Dictionary<string, object>>> GetRoleMenu(bool IsRedis);


        List<Dictionary<string, object>> CreateMenu(int? ID, List<Sys_Menu> menus);

        Task<List<Sys_Menu>> GetAllMenu();
    }
}
